function tableResize() {
	tableWidth = window.innerWidth-140;
	document.getElementById('name').style.maxWidth=tableWidth*.4+'px';
	document.getElementById('main').style.width=width+'px';
}